
//项目公共组件
import Header from "./header";//头部组件
import Layout from "./layout";//退出
import Footer from "./footer";//页面底部组件
import CardBase from "./cardBase";//图标卡片
import Count from "./count";//动态数字样式封装组件
import Table from './table';//基于a-table 表格二次封装组件
import Query from './query';//搜索框二次封装组件
import Authority from './auth';//权限验证/权限判断组件


const components = [
    Footer,Header,Layout, CardBase, Count,Table,Query,Authority
];

const install = function (Vue) {
    if (install.installed) return
    components.map(component => Vue.component(component.name, component))
}

export default {
    install,
    Footer,Header,Layout, CardBase, Count,Table,Query,Authority
}